package cn.deschen.biz.dto.search.media;

import cn.deschen.biz.dto.search.scope.ParamScope;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author hanbin_chen
 * @Description 广告位
 * @DateTime 2021/6/24
 * @Version V1.0.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdSlot {

    @ApiModelProperty(value = "广告位类型(coopen-开屏, patch-贴片 , center-中贴, pause-暂停帖, end-后贴)")
    private String positionType;

    @ApiModelProperty(value = "物料类型(image-图片, video视频)")
    private String materialType;

    @ApiModelProperty(value = "物料子类型(图片: bmp, jpg 视频:mp3, avi)")
    private String childMaterialType;

    @ApiModelProperty(value = "高度")
    private ParamScope<Integer> height;

    @ApiModelProperty(value = "宽度")
    private ParamScope<Integer> width;

    @ApiModelProperty(value = "物料大小, 单位是 KB")
    private ParamScope<Long> size;

    @ApiModelProperty(value = "持续时长, 只有视频才不为 0")
    private ParamScope<Integer> duration;
}
